
from PyQt5.QtCore import QTimer,\
    QProcess,QThread,pyqtSignal

class ProcessThread(QThread):
    ProcessTriger = pyqtSignal(object,object)

    def __init__(self,obj1=None,obj2=None):
        super(ProcessThread,self).__init__()
        self.obj1 = obj1
        self.obj2 = obj2

    def run(self):
        self.ProcessTriger.emit(self.obj1,self.obj2)